﻿@model db.view.New.MatchInfo

@{
    ViewBag.Title = "用户维护";
}

@section header
{
    <style type="text/css">
    </style>
    <script type="text/javascript">
        //刷新当前页面的数据
        function refleshData(exeCountSql) {
            $("#container").pager("reflesh", exeCountSql);
        }
        //初始化分页
        $(function () {
            $("#container").pager();
        });

        $(document).ready(function () {
            $(".listBatchOpPost").click(function () {
                var postCode = $(".postCode").val();
                if (isNull(postCode) == false) {
                    listBatchOp($(this), "postCode=" + postCode);
                } else {
                    showInfo("请选择任职职务");
                }
                return false;
            });
        });
    </script>
}
@{ string ctrl = ViewContext.RouteData.Values["controller"].ToString(); }
<div class="container" id="container" data-width="@Model.PageWidth" data-url="/admin/rbac_User/select">
    <div class="search">
        <span>比赛名称：@Html.TextBoxFor(a => a.Name)</span>
        <span>比赛场地：@Html.TextBoxFor(a => a.Place)</span>
    </div>
    <div class="toolbar">
        <a class="opSearch">查询</a>
        @Html.ActionLink("新增", "Insert", new { }, new { @class = "showDialogR opInsert", data_show = rui.privCtl.isPriv(ctrl, rui.privCtl.eOp.Insert) })
       
    </div>

    <div class="pager"></div>
    <div class="showData cbxCol">
        @{Html.RenderPartial("_ShowData");}
    </div>
</div>
